package com.example.book_recommend.service;

import com.example.book_recommend.entity.SysToken;
import com.example.book_recommend.entity.User;

import java.util.Map;

public interface ShiroService {
    public User findByUsername(String username);
    public Map<String, Object> createToken(Integer userId);
    public void logout(String token);
    public SysToken findByToken(String accessToken);
    public User findByUserId(Integer userId);
}
